//
//  UIViewController+Top.h
//  OCBase
//
//  Created by 侯伟 on 2019/4/16.
//  Copyright © 2019年 侯伟. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (Top)


/// 顶层控制器
+(UIViewController*)topViewController;

/// 当前导航
+(UINavigationController*)currentNavigationController;

/// 是否正在显示
-(BOOL)isCurrentViewControllerVisible;

@end

NS_ASSUME_NONNULL_END
